<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
</head>
<style>
	*{
		margin: 0;
		padding: 0;
	}
	html, body{
		width: 100%;
		height: 100%;
	}
	#box{
		width: 100%;
		height: 100%;
	}
</style>
<body>
	<div id="box"></div>
</body>
<script src="./echarts.min.js"></script>
<script src="../uni.webview.1.5.6.js"></script>
<script>
	document.addEventListener('UniAppJSBridgeReady', function() {
		uni.postMessage({
			data: {
				type: 'init'
			}
		});
	});
	const initData = (config) => {
		const myChart = echarts.init(document.getElementById('box'));
		myChart.setOption(config);
	}
</script>
</html>